{{!

  This template creates the 'Events' portion of the output . It relies on the following helpers:

    - inlineLinks
    - stripNewlines

}}
{{#if this}}
***

## Methods

{{#each this}}

{{! Name }}
### `.{{this.name}}({{#if params}}...{{/if}})` {{curly true}}#{{this.name}}{{curly}}

{{! Since }}
{{#if this.since}}
**Since**: {{this.since}}<br />
{{/if}}
{{! Attributes }}
{{#if (eq this.async true)}}
**Attributes**: async
{{/if}}

{{! Description }}
{{{inlineLinks description}}}

{{! Parameters }}
{{#if params}}

  **Parameters**

  > Signature: `{{this.name}}({{methodSignature this}})`

  <div class="parameter-table-container">

  | Parameter    | Type(s)      | Default      | Description  |
  | ------------ | ------------ | ------------ | ------------ |
  {{#each params}}
    |{{#if this.optional}}[{{/if}}**`{{this.name}}`**{{#if this.optional}}]{{/if}} | {{#each this.type.names}}{{this}}<br />{{/each}} |{{this.defaultvalue}}|{{{stripNewlines (inlineLinks this.description)}}}|
  {{/each}}

  </div>

{{/if}}

{{! Returns }}
{{#if returns}}
**Return Value**

{{! Return value description }}
> Returns: {{#each returns~}}
{{#if type~}}
{{#each type.names~}}
`{{{this}}}`{{#unless @last}} or {{/unless}}
{{~/each}}<br />
{{/if~}}

{{~#if description}}

{{{inlineLinks description}}}
{{/if~}}
{{~/each}}
{{/if}}

{{! Attributes }}
{{#if (eq this.scope "static")}}

**Attributes**: static
{{/if}}

{{#if this.exceptions}}
**Throws**:
{{#each this.exceptions}}
  * {{#if this.type}}`{{this.type.names.[0]}}` : {{/if}}{{{inlineLinks this.description}}}
{{/each}}
{{/if}}

{{/each}}

{{/if}}
